/*
 * =====================================================================================
 *
 *       Filename:  LinkedList.h
 *
 *    Description:  
 *
 *        Version:  1.0
 *        Created:  03/06/11 15:17:42
 *       Revision:  none
 *       Compiler:  gcc
 *
 *         Author:  Marco Beierer (mk), marco.beierer@gmail.com
 *        Company:  Saxion Student
 *
 * =====================================================================================
 */

#ifndef LINKEDLIST_H
#define LINKEDLIST_H

#include "ListNode.h"

class LinkedList {
private:
    ListNode* header;
    bool merge(const Area* area);

public:
    LinkedList(int size); // size of managed geheugen (size of first hole)
    ~LinkedList();
    void insert(const Area* area); 
    const Area* getBestFittedHole(int size); 
    void clear();
};

#endif
